#!/bin/bash

# mounts the loopback device, run bochs, umounts it

sudo /sbin/losetup /dev/loop0 floppy.img
sudo bochs -f /usr/local/share/bochs/bochsrc.txt
sudo /sbin/losetup -d /dev/loop0
